import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import register from '@/components/register'
import show from '@/components/show'
import showcart from '@/components/showcart'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
{
      path: '/show',
      name: 'show',
      component: show
    },
{
      path: '/showcart',
      name: 'showcart',
      component: showcart
    },




  ]
})
